package com.mark.web.stars.entity.from;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @Description:
 * @Author: Mark
 * @CreateDate: 2020/5/29 1:13
 * @Copyright : 豆浆油条个人非正式工作室
 */
@Data
public class AddProperNounFrom {

    @NotBlank(message = "输入的专有名词单词不能为空！")
    private String content;

    @NotBlank(message = "输入的专有名词描述不能为空！")
    private String description;

    @NotNull(message = "请选择类型！")
    Integer[] checkedTypeIdList;
}
